Edgee provides official SDKs for TypeScript, Python, Go, and Rust. All SDKs offer a consistent, type-safe interface to interact with the Edgee AI Gateway, supporting OpenAI-compatible chat completions and function calling. All SDKs include built-in support for token compression and cost tracking, automatically reducing your LLM spend by up to 50%.Documentation Index
Fetch the complete documentation index at: https://www.edgee.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Choose your language and get started in minutes:- TypeScript
- Python
- Go
- Rust
Available SDKs
All SDKs provide consistent functionality:- Token Compression: Automatic prompt compression with savings reporting
- Compression Metrics: Real-time token savings and compression rate for every request
- OpenAI-compatible API: Use familiar patterns across all languages
- Function Calling: Full support for tool/function calling
- Type Safety: Strong typing and autocomplete support
- Error Handling: Comprehensive error handling and validation
- Environment Variables: Support for
EDGEE_API_KEY - Token Usage: Access to prompt, completion, saved tokens, and compression ratios
TypeScript SDK
Lightweight, type-safe SDK for Node.js and TypeScript applications.
Full TypeScript support with comprehensive type definitions.
Python SDK
Python SDK for seamless integration with Python applications.
Simple API with async/await support.
Rust SDK
Modern async Rust SDK with compile-time safety and streaming support.
Zero-cost abstractions with strong typing and memory safety.
Go SDK
High-performance Go SDK for building scalable applications.
Idiomatic Go API with strong typing.
OpenAI SDK
Use Edgee with the OpenAI SDK for Python and TypeScript.