Glama is a ChatGPT alternative for power users, with features like API gateway, agents, MCP, prompt templates, and more.
Scroll down to learn more.

Stop guessing which AI works best. Compare responses side-by-side and identify the winning answers.

Upload any PDF, Word doc, or text file. Get instant answers with exact page references.

Search across documents and chats. Save and tag important conversations.

Transform text descriptions into professional diagrams.

Write math as naturally as typing text. Get publication-quality KaTex output.

Stay ahead with instant access to new AI models as they launch. From GPT-4 to Claude to Gemini - and whatever comes next - Glama keeps you at the cutting edge..

Fly through your AI conversations twice as fast as before.

Paste entire documents, tables, and code blocks into your chats.
We protect your business data and conversations with robust encryption (AES 256, TLS 1.2+), SOC 2 compliance, and a commitment to never using your data for AI training.
Share resources (private by default), track usage, manage access, and consolidate billing – all designed for seamless team collaboration.
Everything that is available through Glama web UI is also available through our API.
Connect, load balance, setup fallbacks and seamlessly manage 100+ AI models using an OpenAI compatible API.
Benefit from our globally distributed infrastructure, no rate limits, built-in monitoring and consolidated billing.
import { OpenAI } from 'openai'
const openai = new OpenAI({
baseURL: GLAMA_GATEWAY_URL,
apiKey: GLAMA_API_KEY,
});
const { completions } = openai.chat;
await completions.create({
messages: [
{
role: 'user',
content: 'Hello!'
}
],
model: 'anthropic/claude-2',
});import { OpenAI } from 'openai'
const openai = new OpenAI({
baseURL: GLAMA_GATEWAY_URL,
apiKey: GLAMA_API_KEY,
});
await openai.chat.completions.create({
messages: [
{ role: 'user', content: 'Hello!' }
],
model: 'anthropic/claude-2',
});Every API interaction is logged, allowing you to track spending, audit usage, implement guardrails, and troubleshoot issues. Easily export logs to JSON format.

Pricing
Simple pricing for accessing AI models & hosting MCP servers
For personal use
For collaboration
/data.For automated workflows
Free for open-source – if your MCP server is open-source, deploying and running it on Glama is free.
Every Glama plan includes AI credits that you spend through the AI Gateway – a unified API integrated into everything on the platform. It gives you access to models from OpenAI, Anthropic, Google, DeepSeek, Mistral, xAI, and more. You use credits when chatting, calling models via the API, or running agents. See all available models on the models page.
Glama hosts thousands of open-source MCP servers that you can connect to with a click – no infrastructure to manage. You can also deploy your own MCP server from any public repository.
You are charged per server instance, not per request or tool call. There are no usage caps – your server can handle as many requests as the allocated CPU and memory allow.
If you maintain an open-source MCP server, hosting and running it on Glama is free.
We provide support for all major AI providers, including OpenAI, Anthropic, Google, DeepSeek, Mistral, xAI, and more. You can explore the complete list of supported models on our models page. If there's a model you'd like us to add, you can request it, and we strive to include new models within 24 hours.
Yes. You can cancel your subscription at any time. Your unused credits will remain available until the end of the billing cycle.
Join Our Community
Join our community for product updates, feature discussions, and support.