OpenAI-Compatible API
Drop-in replacement for OpenAI, Azure, and Anthropic APIs. Switch your inference endpoint to AGICY with a single line change.
# Switch from OpenAI to AGICY — one line change
from openai import OpenAI
# Just change the base_url and api_key
client = OpenAI(
base_url="https://api.agicy.ai/v1",
api_key="your-agicy-key"
)
# Everything else stays the same
response = client.chat.completions.create(
model="llama-4-maverick",
messages=[{"role": "user", "content": "Explain sovereign AI"}],
stream=True,
)
Full support for streaming, function calling, tool use, and JSON mode. Compatible with LangChain, LlamaIndex, and every major AI framework. Our inference API supports all major open-weight models including Llama 4 Maverick, Mistral Large, DeepSeek V3, Qwen 3.5, and Gemma 3 — deployed on sovereign RISC-V silicon with sub-50ms time-to-first-token latency.
✓ Streaming
✓ Function Calling
✓ Tool Use
✓ JSON Mode
✓ Vision
✓ Embeddings
✓ Batch API
✓ Python SDK