OpenAI-compatible — keep the SDK you already use
https://api.orcarouter.ai/v1https://api.orcarouter.aiimport os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="google/gemini-4-carbon",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)| Input / 1M tokens | $2.00 |
|---|---|
| Output / 1M tokens | $10.00 |
| Cache read / 1M | $0.100 |
| Currency | USD |
Estimate based on list price
Estimate only — actual token counts depend on the provider's tokenizer.
GET /api/public/models/google/gemini-4-carbonOpen @misc{orcarouter_gemini_4_carbon,
title = {google/gemini-4-carbon API},
author = {google},
year = {n.d.},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/google/gemini-4-carbon}
}google. (n.d.). google/gemini-4-carbon API. OrcaRouter. https://www.orcarouter.ai/models/google/gemini-4-carbon