You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Start the server (uses the starter distribution with Ollama)
66
-
uv run ogx run starter
65
+
# Start the server (auto-detects providers from the environment)
66
+
uv run ogx go
67
67
```
68
68
69
69
Then connect with any OpenAI, Anthropic, or Google GenAI client — [Python](https://github.com/openai/openai-python), [TypeScript](https://github.com/openai/openai-node), [curl](https://platform.openai.com/docs/api-reference), or any framework that speaks these APIs.
OGX works with any OpenAI-compatible client. Point your existing code at `http://localhost:8321/v1` and you're ready to go.
121
+
122
+
OGX is secure by default. `--insecure` forces the server to listen on http. By default it runs on https with a self-signed cert. You'll have to skip cert verification or trust the automatically generated cert.
121
123
:::
122
124
123
125
[Quick Start Guide](/docs/getting_started/quickstart) | [OpenAI API Compatibility](./api-openai) | [GitHub](https://github.com/ogx-ai/ogx)
Copy file name to clipboardExpand all lines: docs/docs/providers/inference/remote_anthropic.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,10 @@ Anthropic inference provider for accessing Claude models and Anthropic's AI serv
34
34
|`network.timeout.connect`|`float \| None`| No || Connection timeout in seconds. |
35
35
|`network.timeout.read`|`float \| None`| No || Read timeout in seconds. |
36
36
|`network.headers`|`dict[str, str] \| None`| No || Additional HTTP headers to include in all requests. |
37
+
|`network.limits`|`LimitsConfig \| None`| No || HTTP connection pool limits (max connections, keepalive connections, keepalive expiry). None uses httpx's own defaults. |
38
+
|`network.limits.max_connections`|`int \| None`| No | 100 | Maximum number of concurrent connections in the pool. None means no limit. Values must be >= 1 if set. |
39
+
|`network.limits.max_keepalive_connections`|`int \| None`| No | 20 | Maximum number of idle keep-alive connections to retain. None means no limit. Values must be >= 0 if set. |
40
+
|`network.limits.keepalive_expiry`|`float \| None`| No | 5.0 | Time in seconds to keep idle keep-alive connections open before closing them. None means no expiry. Values must be >= 0 if set. |
|`network.timeout.connect`|`float \| None`| No || Connection timeout in seconds. |
42
42
|`network.timeout.read`|`float \| None`| No || Read timeout in seconds. |
43
43
|`network.headers`|`dict[str, str] \| None`| No || Additional HTTP headers to include in all requests. |
44
+
|`network.limits`|`LimitsConfig \| None`| No || HTTP connection pool limits (max connections, keepalive connections, keepalive expiry). None uses httpx's own defaults. |
45
+
|`network.limits.max_connections`|`int \| None`| No | 100 | Maximum number of concurrent connections in the pool. None means no limit. Values must be >= 1 if set. |
46
+
|`network.limits.max_keepalive_connections`|`int \| None`| No | 20 | Maximum number of idle keep-alive connections to retain. None means no limit. Values must be >= 0 if set. |
47
+
|`network.limits.keepalive_expiry`|`float \| None`| No | 5.0 | Time in seconds to keep idle keep-alive connections open before closing them. None means no expiry. Values must be >= 0 if set. |
44
48
|`base_url`|`HttpUrl \| None`| No || Azure API base for Azure (e.g., https://your-resource-name.openai.azure.com/openai/v1)|
45
49
|`api_version`|`str \| None`| No || Azure API version for Azure (e.g., 2024-12-01-preview) |
46
50
|`api_type`|`str \| None`| No | azure | Azure API type for Azure (e.g., azure) |
Copy file name to clipboardExpand all lines: docs/docs/providers/inference/remote_bedrock.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,10 @@ AWS Bedrock inference provider for the OpenAI-compatible runtime, with AWS crede
34
34
|`network.timeout.connect`|`float \| None`| No || Connection timeout in seconds. |
35
35
|`network.timeout.read`|`float \| None`| No || Read timeout in seconds. |
36
36
|`network.headers`|`dict[str, str] \| None`| No || Additional HTTP headers to include in all requests. |
37
+
|`network.limits`|`LimitsConfig \| None`| No || HTTP connection pool limits (max connections, keepalive connections, keepalive expiry). None uses httpx's own defaults. |
38
+
|`network.limits.max_connections`|`int \| None`| No | 100 | Maximum number of concurrent connections in the pool. None means no limit. Values must be >= 1 if set. |
39
+
|`network.limits.max_keepalive_connections`|`int \| None`| No | 20 | Maximum number of idle keep-alive connections to retain. None means no limit. Values must be >= 0 if set. |
40
+
|`network.limits.keepalive_expiry`|`float \| None`| No | 5.0 | Time in seconds to keep idle keep-alive connections open before closing them. None means no expiry. Values must be >= 0 if set. |
37
41
|`aws_access_key_id`|`SecretStr \| None`| No || The AWS access key to use. Default use environment variable: AWS_ACCESS_KEY_ID |
38
42
|`aws_secret_access_key`|`SecretStr \| None`| No || The AWS secret access key to use. Default use environment variable: AWS_SECRET_ACCESS_KEY |
39
43
|`aws_session_token`|`SecretStr \| None`| No || The AWS session token to use. Default use environment variable: AWS_SESSION_TOKEN |
Copy file name to clipboardExpand all lines: docs/docs/providers/inference/remote_cerebras.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,10 @@ Cerebras inference provider for running models on Cerebras Cloud platform.
34
34
|`network.timeout.connect`|`float \| None`| No || Connection timeout in seconds. |
35
35
|`network.timeout.read`|`float \| None`| No || Read timeout in seconds. |
36
36
|`network.headers`|`dict[str, str] \| None`| No || Additional HTTP headers to include in all requests. |
37
+
|`network.limits`|`LimitsConfig \| None`| No || HTTP connection pool limits (max connections, keepalive connections, keepalive expiry). None uses httpx's own defaults. |
38
+
|`network.limits.max_connections`|`int \| None`| No | 100 | Maximum number of concurrent connections in the pool. None means no limit. Values must be >= 1 if set. |
39
+
|`network.limits.max_keepalive_connections`|`int \| None`| No | 20 | Maximum number of idle keep-alive connections to retain. None means no limit. Values must be >= 0 if set. |
40
+
|`network.limits.keepalive_expiry`|`float \| None`| No | 5.0 | Time in seconds to keep idle keep-alive connections open before closing them. None means no expiry. Values must be >= 0 if set. |
37
41
|`base_url`|`HttpUrl \| None`| No |https://api.cerebras.ai/v1| Base URL for the Cerebras API |
Copy file name to clipboardExpand all lines: docs/docs/providers/inference/remote_databricks.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,10 @@ Databricks inference provider for running models on Databricks' unified analytic
34
34
|`network.timeout.connect`|`float \| None`| No || Connection timeout in seconds. |
35
35
|`network.timeout.read`|`float \| None`| No || Read timeout in seconds. |
36
36
|`network.headers`|`dict[str, str] \| None`| No || Additional HTTP headers to include in all requests. |
37
+
|`network.limits`|`LimitsConfig \| None`| No || HTTP connection pool limits (max connections, keepalive connections, keepalive expiry). None uses httpx's own defaults. |
38
+
|`network.limits.max_connections`|`int \| None`| No | 100 | Maximum number of concurrent connections in the pool. None means no limit. Values must be >= 1 if set. |
39
+
|`network.limits.max_keepalive_connections`|`int \| None`| No | 20 | Maximum number of idle keep-alive connections to retain. None means no limit. Values must be >= 0 if set. |
40
+
|`network.limits.keepalive_expiry`|`float \| None`| No | 5.0 | Time in seconds to keep idle keep-alive connections open before closing them. None means no expiry. Values must be >= 0 if set. |
37
41
|`base_url`|`HttpUrl \| None`| No || The URL for the Databricks model serving endpoint (should include /serving-endpoints path) |
Copy file name to clipboardExpand all lines: docs/docs/providers/inference/remote_deepseek.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,10 @@ DeepSeek inference provider for accessing DeepSeek models via the DeepSeek API.
34
34
|`network.timeout.connect`|`float \| None`| No || Connection timeout in seconds. |
35
35
|`network.timeout.read`|`float \| None`| No || Read timeout in seconds. |
36
36
|`network.headers`|`dict[str, str] \| None`| No || Additional HTTP headers to include in all requests. |
37
+
|`network.limits`|`LimitsConfig \| None`| No || HTTP connection pool limits (max connections, keepalive connections, keepalive expiry). None uses httpx's own defaults. |
38
+
|`network.limits.max_connections`|`int \| None`| No | 100 | Maximum number of concurrent connections in the pool. None means no limit. Values must be >= 1 if set. |
39
+
|`network.limits.max_keepalive_connections`|`int \| None`| No | 20 | Maximum number of idle keep-alive connections to retain. None means no limit. Values must be >= 0 if set. |
40
+
|`network.limits.keepalive_expiry`|`float \| None`| No | 5.0 | Time in seconds to keep idle keep-alive connections open before closing them. None means no expiry. Values must be >= 0 if set. |
37
41
|`base_url`|`HttpUrl \| None`| No |https://api.deepseek.com/v1| Base URL for the DeepSeek API |
Copy file name to clipboardExpand all lines: docs/docs/providers/inference/remote_fireworks.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,10 @@ Fireworks AI inference provider for Llama models and other AI models on the Fire
34
34
|`network.timeout.connect`|`float \| None`| No || Connection timeout in seconds. |
35
35
|`network.timeout.read`|`float \| None`| No || Read timeout in seconds. |
36
36
|`network.headers`|`dict[str, str] \| None`| No || Additional HTTP headers to include in all requests. |
37
+
|`network.limits`|`LimitsConfig \| None`| No || HTTP connection pool limits (max connections, keepalive connections, keepalive expiry). None uses httpx's own defaults. |
38
+
|`network.limits.max_connections`|`int \| None`| No | 100 | Maximum number of concurrent connections in the pool. None means no limit. Values must be >= 1 if set. |
39
+
|`network.limits.max_keepalive_connections`|`int \| None`| No | 20 | Maximum number of idle keep-alive connections to retain. None means no limit. Values must be >= 0 if set. |
40
+
|`network.limits.keepalive_expiry`|`float \| None`| No | 5.0 | Time in seconds to keep idle keep-alive connections open before closing them. None means no expiry. Values must be >= 0 if set. |
37
41
|`base_url`|`HttpUrl \| None`| No |https://api.fireworks.ai/inference/v1| The URL for the Fireworks server |
0 commit comments