Playground
Try it in the browser
Facts
At a glance
Availability
Live
Pricing
$2 / M input · $8 / M output
Endpoint
Chat Completions
/v1/chat/completions
Context window
1,000k tokens
API
Call it from code
import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://api.companyfabric.com/v1",
apiKey: process.env.COMPANYFABRIC_API_KEY,
})
const res = await client.chat.completions.create({
model: "google/gemini-3-1-pro",
max_tokens: 1024,
temperature: 0.7,
messages: [{ role: "user", content: "Say hello from the fabric." }],
})
console.log(res.choices[0].message.content)Prompt library
Example runs
Here are 40 support transcripts. Cluster the complaints and rank by frequency.
This exact run cost $0.011
FAQ
Frequently asked questions
How much does Gemini 3.1 Pro cost?
$2 / M input · $8 / M output. The exact cost of each call is shown before you run it and metered to your prepaid balance — no subscription required.
Why use Gemini 3.1 Pro on CompanyFabric instead of going direct?
One key and one balance across every model in the library, at pricing at parity with or below the direct API. Switching models is a one-line change.
Is Gemini 3.1 Pro available through the OpenAI SDK?
Yes — point any OpenAI SDK at api.companyfabric.com/v1 and set model to "google/gemini-3-1-pro".
Variants
Same family
Explore
Related model APIs
Claude Sonnet 4.5
$3/Mtok inAnthropic
Frontier-quality text and reasoning through one OpenAI-compatible endpoint.
text
Claude Haiku 4.5
$1/Mtok inAnthropic
Fast, cheap frontier-family model for high-volume tasks.
text
Claude Opus 4.6
$15/Mtok inAnthropic
The frontier tier for the hardest reasoning and agentic work.
text
GPT-5.5
$5/Mtok inOpenAI
OpenAI's flagship, one key away.
text
DeepSeek V4
$0.3/Mtok inDeepSeek
Open-weight frontier-adjacent reasoning at commodity prices.
text
One key. Every model. Exact prices.
Run Gemini 3.1 Pro with free starter credits. Free starter credits included — no subscription required.