{"slug":"portkey","name":"Portkey","owner":null,"repo":null,"category":"llm-gateways","lang":"","blurb":"Production AI gateway routing to 1,600+ LLMs with observability, guardrails, governance, and an MCP gateway in one API.","use_cases":"[]","alternatives":[],"stars":0,"pushed_at":null,"synced_at":null,"kind":"api","one_liner":"Production AI gateway routing to 1,600+ LLMs with observability, guardrails, governance, and an MCP gateway in one API.","website":"https://portkey.ai","docs_url":"https://portkey.ai/docs","signup_url":"https://app.portkey.ai/","pricing_model":"freemium","pricing_note":"Free tier (logging stops after 10k logs but routing continues); paid tiers priced mainly by log volume/retention; self-host/VPC options","auth_type":"api-key","agent_signup":"programmatic-api","agent_signup_note":"Control-plane/admin API mints virtual keys & API keys programmatically with budgets and access control; parent account created via free web signup","mcp_server":"","sdks":["Python","TypeScript","REST","OpenAI-compatible"],"code_sample":"{\"lang\":\"python\",\"code\":\"from portkey_ai import Portkey\\nclient = Portkey(api_key=\\\"PORTKEY_API_KEY\\\",\\n                 virtual_key=\\\"OPENAI_VIRTUAL_KEY\\\")\\nr = client.chat.completions.create(\\n    model=\\\"gpt-4o\\\",\\n    messages=[{\\\"role\\\": \\\"user\\\", \\\"content\\\": \\\"Hello\\\"}])\\nprint(r.choices[0].message.content)\"}","tags":["ai-gateway","observability","guardrails"],"useCases":[],"codeSample":{"lang":"python","code":"from portkey_ai import Portkey\nclient = Portkey(api_key=\"PORTKEY_API_KEY\",\n                 virtual_key=\"OPENAI_VIRTUAL_KEY\")\nr = client.chat.completions.create(\n    model=\"gpt-4o\",\n    messages=[{\"role\": \"user\", \"content\": \"Hello\"}])\nprint(r.choices[0].message.content)"},"oneLiner":"Production AI gateway routing to 1,600+ LLMs with observability, guardrails, governance, and an MCP gateway in one API.","docsUrl":"https://portkey.ai/docs","signupUrl":"https://app.portkey.ai/","pricingModel":"freemium","pricingNote":"Free tier (logging stops after 10k logs but routing continues); paid tiers priced mainly by log volume/retention; self-host/VPC options","authType":"api-key","agentSignup":"programmatic-api","agentSignupNote":"Control-plane/admin API mints virtual keys & API keys programmatically with budgets and access control; parent account created via free web signup","mcpServer":""}