GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Smart Routing & Budgets
  • Token Compression
  • Team Observability
  • Integrations
  • Plugins
  • Claude Mod
  • On-Premise
  • Edgee vs OpenRouter
  • Edgee vs LiteLLM
  • Models
  • Blog
  • Pricing
  • Documentation
  • Login

This view

  • Original page
  • New address

GeezerVison is showing www.edgee.ai — Python SDK | Edgee documentation

Edgee SDKs

Python SDK

Integrate the Python SDK in your application.

The Edgee Python SDK provides a lightweight, type-safe interface to interact with the Edgee AI Gateway. It supports OpenAI-compatible chat completions, function calling, and streaming.

Installation

pip install edgee

Quick Start

from edgee import Edgee

# Create client
edgee = Edgee("your-api-key")

# Send a simple request
response = edgee.send(
    model="gpt-5.2",
    input="What is the capital of France?"
)

# Access the response
print(response.text)
# "The capital of France is Paris."

What's Next?

  • Configuration - Learn how to configure and instantiate the SDK
  • Send Method - Complete guide to the send() method
  • Stream Method - Learn how to stream responses
  • Tools - Detailed guide to function calling

Verify your first request

Run the example with a Gateway API key stored in your environment. Confirm a model response, then find the request in Logs for that key and organization. Check the served model and provider, since routing rules can change them. See Gateway errors if authentication, model access, or billing prevents the request.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.