Gemini 3.1 Pro Preview (MindraCode) is a chat api from mindracode that teams use to power assistants, copilots, and agent loops through one SkillBoss endpoint.
It returns structured output from model mindracode/gemini-3.1-pro-preview, supports token based billing, and gives agents a stable invocation contract instead of vague routing hints.
Power assistants, copilots, and agent loops
Generate text, summaries, and reasoning outputs
Route prompts through one unified API key
Direct Answer
Gemini 3.1 Pro Preview (MindraCode) is a chat api exposed through SkillBoss. Use it when you need to power assistants, copilots, and agent loops, want one stable request surface, and need a model ID and billing path that both humans and agents can act on quickly.
Best Fit
You want Gemini 3.1 Pro Preview (MindraCode) behind one stable SkillBoss endpoint instead of wiring up mindracode directly.
You need a canonical page with copyable request shape, pricing context, and model ID for developer handoff or agent routing.
You are comfortable using the standard API key path for token-based or variable-cost execution.
Watchouts
This API is not a strong x402 or Payment Later fit today because the final cost is not deterministic before execution.
If you need a different capability category, use the catalog and vendor links below instead of forcing the wrong endpoint.
Capability Snapshot
Endpoint
POST /v1/run
Auth
Bearer API key
Model
mindracode/gemini-3.1-pro-preview
Payments
Standard API key
Canonical URL
https://www.skillboss.co/it/use/gemini-3-1-pro-preview-api
Step 1
Use https://api.skillboss.co/v1/run with a standard JSON body and your SkillBoss API key.
Step 2
Set "model": "mindracode/gemini-3.1-pro-preview" so your app or agent routes to the intended capability consistently.
Step 3
This API should use the standard API key flow before machine payments. Keep the standard API key flow as the default unless your agent specifically benefits from machine-native payment rails.
Request Shape
{
"model": "mindracode/gemini-3.1-pro-preview",
"inputs": {
"messages": [
{
"role": "user",
"content": "Give me a concise overview of Gemini 3.1 Pro Preview (MindraCode)."
}
]
}
}Example Response
{
"id": "run_123",
"output": {
"text": "Gemini 3.1 Pro Preview (MindraCode) completed the request successfully."
}
}For Humans
Product teams shipping chat, summarization, and reasoning features
Internal tools that need prompt-driven workflows fast
Developers comparing models without vendor-by-vendor integration work
For Agents
Coding and workflow agents that need strong text generation
Routing layers that choose different models for different tasks
Assistants that call one stable endpoint instead of many vendor APIs
Power assistants, copilots, and agent loops
Generate text, summaries, and reasoning outputs
Route prompts through one unified API key
curl -X POST https://api.skillboss.co/v1/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mindracode/gemini-3.1-pro-preview",
"inputs": {
"messages": [
{
"role": "user",
"content": "Give me a concise overview of Gemini 3.1 Pro Preview (MindraCode)."
}
]
}
}'import requests
response = requests.post(
"https://api.skillboss.co/v1/run",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "mindracode/gemini-3.1-pro-preview",
"inputs": {
"messages": [
{
"role": "user",
"content": "Give me a concise overview of Gemini 3.1 Pro Preview (MindraCode)."
}
]
}
}
)
print(response.json())Payment Options
This API should use the standard API key flow before machine payments. This endpoint is priced by tokens or variable execution cost, so the final price is not deterministic before the run completes. That makes x402 and Payment Later secondary options rather than the primary billing path.
x402
Status: Not recommended. Use x402 when an agent can know the exact price before execution and pay onchain request by request.
Payment Later
Status: Not recommended. Use Payment Later when an agent should pay with card-backed machine payments instead of prefunded crypto.
# Gemini 3.1 Pro Preview (MindraCode) uses variable or token-based pricing,
# so x402 is not the primary path for this model today.
import requests
response = requests.post(
"https://api.skillboss.co/v1/run",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "mindracode/gemini-3.1-pro-preview",
"inputs": {
"messages": [
{
"role": "user",
"content": "Give me a concise overview of Gemini 3.1 Pro Preview (MindraCode)."
}
]
}
}
)
print(response.json())# Gemini 3.1 Pro Preview (MindraCode) does not have deterministic pricing up front,
# so Payment Later is not the primary path for this model today.
import requests
response = requests.post(
"https://api.skillboss.co/v1/run",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "mindracode/gemini-3.1-pro-preview",
"inputs": {
"messages": [
{
"role": "user",
"content": "Give me a concise overview of Gemini 3.1 Pro Preview (MindraCode)."
}
]
}
}
)
print(response.json())Discover
Compare adjacent capabilities and find alternatives from one unified catalog.
Vendor
See the rest of this vendor's public endpoints and compare them side by side.
Agents
Use the same capability inside agent tools instead of maintaining separate provider setup.
Canonical
The canonical page, model ID, and request surface are visible above the fold, which reduces ambiguity for searchers and agents.
Extractable
Direct-answer, best-fit, watchout, and invocation sections expose the critical facts in short standalone passages.
Operational
Payment guidance is separated from quick start, so users can launch first and choose x402 or Payment Later only when it actually fits.
Gemini 3.1 Pro Preview (MindraCode) is a chat api available through SkillBoss. Teams use it for power assistants, copilots, and agent loops without managing separate vendor credentials.
Send a POST request to https://api.skillboss.co/v1/run with "model": "mindracode/gemini-3.1-pro-preview" and an "inputs" object containing the capability-specific parameters shown in the request example on this page.
Successful responses return a run identifier plus a structured output payload. The exact shape varies by capability, and this page shows a representative example response block so developers and agents can plan parsing correctly.
Gemini 3.1 Pro Preview (MindraCode) uses token based pricing on SkillBoss. Check the pricing card and payment section on this page before wiring billing logic into your app or agent.
This API should use the standard API key flow before machine payments. This endpoint is priced by tokens or variable execution cost, so the final price is not deterministic before the run completes. That makes x402 and Payment Later secondary options rather than the primary billing path.
The underlying vendor for this endpoint is mindracode. SkillBoss provides the unified API surface, billing layer, and canonical discovery page for Gemini 3.1 Pro Preview (MindraCode).
Get your API key, call mindracode/gemini-3.1-pro-preview, and use this capability in both product workflows and AI agents.