One API key.
Every model.
Prism gives you a single API key and a single bill for OpenAI and Gemini models. Fully compatible with the OpenAI SDK — the only change required is the base URL and API key.
from openai import OpenAI
client = OpenAI(
base_url="https://prism.dcornerr.in/api/v1", # only change
api_key="sk-dprism-...", # only change
)
completion = client.chat.completions.create(
model="openai/gpt-5.4-mini",
messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)Your existing OpenAI SDK code works unchanged — same methods, same streaming, same response shape.
Fully compatible with OpenAI SDK
Use the OpenAI Python/JS SDK you already know, with just a base URL change. Chat, streaming, and image generation all work as-is.
One key, every model
OpenAI and Gemini behind a single API key and a single token balance. Switch providers by changing the model string.
Transparent token billing
Every call is billed on the model's real usage — see exact tokens used per call in your logs.
Plans for every stage
Start free, upgrade whenever you need more tokens or premium models.
50 tokens/month
300 tokens/month
1000 tokens/month
Available models
Starting with a curated set of fast, low-cost models from OpenAI and Google.
openai/gpt-5.4-nano166.67 tokens / 1M output tokens
openai/gpt-5.4-mini600.00 tokens / 1M output tokens
gemini/gemini-flash-lite-latest200.00 tokens / 1M output tokens
gemini/gemini-flash-latest1200.00 tokens / 1M output tokens
gemini/gemini-3.1-flash-lite-image4000.00 tokens / 1M output tokens
openai/gpt-image-1-mini1066.67 tokens / 1M output tokens
anthropic/claude-haiku-4-5666.67 tokens / 1M output tokens
anthropic/claude-sonnet-52000.00 tokens / 1M output tokens