Skip to content
GitHub Login

Quickstart

This guide will walk you through the process of getting started with $8080. From creating your account to sending your first API request.

Begin by signing up for an account on $8080 by visiting the sign-up page. Registration is currently limited to an invite-only group of people, if you would like to request an invitation, please request one here.

Integrate directly with the OpenAI compatible API to generate chat completions, responses, and more. For more details on the API, refer to the API Reference section.

  1. Once you have signed up, go to your organzation settings and generate a new key.

    Optionally, for convenience, set the following environment variable that’s used throughout example code snippets:

    export _8080_API_KEY="your new 8080 API key"
  2. With your API key, you can now cURL the $8080 API like so:

    curl https://api.8080.io/v1/completions/chat \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $_8080_API_KEY" \
    -d '{
    "model": "8080/taalas/llama3.1-8b-instruct",
    "messages": [
    {
    "role": "user",
    "content": "why is the sky blue?"
    }
    ]
    }'

For optimal performance, deploy your code to the 8080 Edge compute cloud. In doing so, your application will be optimized for the lowest latencies possible when calling into the 8080 Inference API. To get started in deploying code to the edge, follow the instructions below:

  1. We reccomend using the package manager uv for installing the e80 python package:

    uv tool install e80
  2. Log into your account and fetch an API token to use:

    8080 login
  3. Fetch a list of your available models to confirm your access token saved successfully:

    8080 models