Use one Python integration for GPT, Claude, Gemini, DeepSeek, and other models without rewriting your app every time you change providers.
Free preview, Starter for the Auto lane, Teams for manual GPT, Claude, and Gemini Pro access. Add-on credits kick in after included plan tokens are used.
Start on cheap auto-routed models first, then move up only when your workload truly needs premium manual control.
pip install llmwise
from llmwise import LLMWise
client = LLMWise("mm_sk_...")
response = client.chat(
model="auto",
messages=[
{"role": "system", "content": "Be concise."},
{"role": "user", "content": "Explain eventual consistency in two sentences."},
],
)
print(response["model"])
print(response["content"])
print(response["cost_usd"])Everything you need to integrate LLMWise's multi-model API into your Python project.
Start with the Python client when you want the lightest path to a live request. The LLMWise SDK wraps the same API your dashboard uses, so local testing and production behavior stay aligned.
pip install llmwise
Generate a single `mm_sk_...` key from your LLMWise account and initialize the client once. You can reuse that same key across GPT, Claude, Gemini, DeepSeek, and the rest of the supported catalog.
from llmwise import LLMWise
client = LLMWise("mm_sk_...")Use `model="auto"` unless you have a reason to pin a specific provider. Auto gives you the cheapest healthy model that fits the request, which is usually the best default for production cost control.
response = client.chat(
model="auto",
messages=[{"role": "user", "content": "Summarize this support ticket."}],
)When you are still choosing the right model for a workflow, call compare mode and inspect the returned model, latency, and cost metadata. This is much faster than wiring multiple provider SDKs manually.
comparison = client.compare(
model="auto",
messages=[{"role": "user", "content": "Draft a launch email."}],
)As traffic grows, keep Auto for default routing and add BYOK only where you need direct provider billing or committed-spend alignment. That lets you stay on one Python surface while changing the billing and routing policy underneath.
Free preview, Starter for the Auto lane, Teams for manual GPT, Claude, and Gemini Pro access. Add-on credits kick in after included plan tokens are used.
Start on cheap auto-routed models first, then move up only when your workload truly needs premium manual control.
Pricing changes, new model launches, and optimization tips. No spam.